package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 过滤设备上报数据是否满足报警规则
 * @author ghy
 * @version 1.0
 * @since 2025-08-26 14:45
 */
@Component
@Slf4j
public class AlertJob {

    @Autowired
    private IAlertDataService alertDataService;

    public void deviceDataAlertFilter() {
        // log.info("过滤设备上报数据是否满足报警规则，任务开始-->");
        alertDataService.alertFilter();
    }

}
